﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="~/Preview.aspx.cs" Inherits="Preview" %>
<%@ Import Namespace="System.Linq" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Animated Buttons with CSS3" />
    <meta name="keywords" content="css3, transitions, button, animation, hover, effect, icon, call-to-action, active" />
    <meta name="author" content="Codrops" />
    <link rel="stylesheet" href="css/style_for_home.css" type="text/css" />
    <link rel="stylesheet" type="text/css" href="css/demo.css" />
    <link href="css/menu.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="css/style1.css" />
    <link href="js/slider/slider.css" rel="stylesheet" type="text/css" />
    <script src="js/slider/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="js/slider/jquery-slider.js" type="text/javascript"></script>
    <script src="js/slider/tooltip.js" type="text/javascript"></script>
    <link href="js/slider/tooltip.css" rel="stylesheet" type="text/css" />
    <link href="css/style5.css" rel="stylesheet" />
    <style type="text/css">
        .tips b {display:block; text-align:center; margin-bottom:9px;}
    </style>
  <style type="text/css">
.button {
    margin-top:8px;
    margin-left:8px;
	-moz-box-shadow:inset 0px 0px 0px 0px #bbdaf7;
	-webkit-box-shadow:inset 0px 0px 0px 0px #bbdaf7;
	box-shadow:inset 0px 0px 0px 0px #bbdaf7;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #79bbff), color-stop(1, #378de5) );
	background:-moz-linear-gradient( center top, #79bbff 5%, #378de5 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#378de5');
	background-color:#79bbff;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #84bbf3;
	display:inline-block;
	color:#ffffff;
	font-family:Courier New;
	font-size:17px;
	font-weight:bold;
	padding:6px 35px;
	text-decoration:none;
	text-shadow:1px 1px 0px #528ecc;
    cursor:pointer;
}.button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #378de5), color-stop(1, #79bbff) );
	background:-moz-linear-gradient( center top, #378de5 5%, #79bbff 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#378de5', endColorstr='#79bbff');
	background-color:#378de5;
}.button:active {
	position:relative;
	top:1px;
}
      </style>
<body>
<div id="wrapper">
    <!--begin header-->
   
    

<!--======================-->
<div id="menu_top">
    <ul id="nav">
        <li><a href="Trangchu.aspx">Trang Chủ</a></li>
        <li><a class="hsubs" href="GioiThieu.aspx">Giới Thiệu</a></li>
        <li><a  href="#">Hướng Dẫn</a></li>    
        <li><a  href="Mauvanban.aspx">Văn Bản</a></li>
        <li><a href="#">Hỗ Trợ</a></li>
        <li><a href="#">Liên Hệ</a></li>
        <div id="lavalamp"></div>
    </ul>
</div>
<!--End header-->

<!--Begin new_post_wrapper-->
<div id="News_post_wrapper">
   
   <div id="task_preview">
       <div id="download">
           <form runat="server">
           <asp:Button ID="Button1" class="button"  OnClick="Button1_Click" runat="server" Text="Tải về máy tính" />
           </form>
         </div>
   </div>
    <div id="content_preview">
          <%
              string url =Request.QueryString["ID"].ToString();
              if (url != null)
              {
              
               %>
         <iframe src="http://docs.google.com/viewer?url=<%=url %>&embedded=true" width="1000" height="1026" style="border: none;"></iframe>
               <%
               } %>
         </div>
</div>
<!--End new_post_wrapper-->


<!--content place holder for advertise-->



<!--Begin footer-->
<div id="footer">
    <div id="title_footer"></div>
     <div id="content_footer">
                    <div id="info_web">
                        <%
                            BieumauDataContext db = new BieumauDataContext();
                            db = (BieumauDataContext)GoogleFramework.Encrypt.EncryptRSAObject(4592473, db, this);
                            tblLienHe lh = db.tblLienHes.Single(p => p.Id == 1);
                            
                        %>
                        <center>
                            <br />
                            <br />
                            <h4 style="text-align: center; color: #FFFFFF; font-size: 13px;"><%=  lh.Tendonvi.ToUpper() %></h4>
                            <h4 style="text-align: center; color: #FFFFFF; font-size: 13px;">Tel: <%=  lh.SDT.ToUpper() %>-Fax: <%=  lh.Fax %></h4>
                            <h4 style="text-align: center; color: #FFFFFF; font-size: 13px;">Email: <%=  lh.Email %></h4>

                            <h4 style="text-align: center; color: #FFFFFF; font-size: 13px;">Địa chỉ liên hệ: <%=  lh.Diachi %></h4>
                        </center>
                    </div>
                </div>
</div>
</div>
</body>
</html>

